package VN.EDU.IMIC.DEVELOPER.TRINHCAOSANG.BaiTapObject.Exc4;

import java.util.Scanner;

public class Views {
    public static void main(String[] args) {

        Entity data = new Entity();
        int thang;
        int nam;
        Scanner scanner = new Scanner(System.in);
        System.out.println("Ban muon xem thang may ?");
        thang = scanner.nextInt();
        if (thang >= 13 ){
            System.out.println("Pham vi : 12 thang ");
            return;
        }
        System.out.println("Ban muon xem nam may ?");
         nam = scanner.nextInt();
        data.setThang(thang);
       data.setNam(nam); 
       
        NhuanController controllers = new NhuanController();


        System.out.println("Ket qua la : " + controllers.CheckDayOfMonth(data));
    }
}



